package com.wnxy.admin.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author hj
 * 财务报表dto
 */
@Data
public class FinanceReportDto {

    @ExcelProperty("客户名称")
    @ColumnWidth(20)
    private String customerName;

    @ExcelProperty("充电卡号")
    @ColumnWidth(35)
    private String cardId;
    @ExcelProperty("支出")
    @ColumnWidth(35)
    private BigDecimal totalExpenditure;
    @ExcelProperty("收入")
    @ColumnWidth(35)
    private BigDecimal totalRecharge;

    @ExcelProperty("日期")
    @ColumnWidth(35)
    private Date date;

    @ExcelProperty("充电卡余额")
    @ColumnWidth(35)
    private BigDecimal balance;


    public FinanceReportDto(){
         this.totalExpenditure= BigDecimal.ZERO;
         this.totalRecharge= BigDecimal.ZERO;
    }
}
